<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>DoNotes - Share information and collaborate with anyone</title>
	<link rel="stylesheet" type="text/css" href="../../../css/donotes.css" />
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<script type="text/javascript" src="../../../js/jquery-1.3.2.js"></script>
	<script type="text/javascript" src="../../../js/blog.js"></script>
	<script type="text/javascript" src="../../../js/WYSIWYG/xheditor/xheditor-zh-cn.js"></script>
</head>
<body>
	<s:include value="postHeader.jsp"></s:include>
	<div id="main">
		<div id="post">
			<h2>Post</h2>
			<p><strong>Share something i know, or post a question for others.</strong></p>			
			<!--<form method="post" action="addPost.do"> -->			
	    		<s:textfield label="Title" name="title" labelSeparator="" size="59"/>
				<p>
					<a href="/tooltip" target="_blank" style="display: block; float: right" class="tooltip">Some markup is OK
						<span>
							<tt>*bold text*, //italic text//, |monospace code|</tt><br />
							<tt># Section Header</tt><br />
							<tt>[http://www.example.com/ Example Link]</tt><br />
							<tt>* Item one<br />* Item two</tt><br />
							<tt>--- = &lt;hr /&gt;</tt><br /><br />
							Embedded video (e.g. YouTube) works as well, but no other HTML.  Click for full details.
						</span>
					</a>
					Details<br />
					<s:textarea name="content" cols="55" rows="12" />
				</p>
				<p> &lt;script type=&quot;syntaxhighlighter&quot; class=&quot;brush: js&quot;&gt;&lt;![CDATA[ &nbsp;&nbsp;&nbsp;]]&gt;&lt;/script&gt;
				<p><input type="button" id="btnPost" value="Post" class="submit" /></p>
				<input type="hidden" id="id" name="id" value="<s:property value="id" />" />
			<!--</form>-->
		</div>
		<s:include value="postMetaBar.jsp"></s:include>
		<br clear="both" /><br />
	</div>
	<s:include value="footer.jsp"></s:include>
	<div id="ajaxStatus"></div>
</body>
</html>